#include "systemstatecontroller.h"

SystemStateController::SystemStateController()
{
    systemStateView = new SystemStateView();
    systemFailureController = new SystemFailureController();
    statusMonitoringController = new StatusMonitoringController();

    systemFailureController->show(systemStateView->vLayout,372);
    statusMonitoringController->show(systemStateView->vLayout,186);
}

SystemStateController::~SystemStateController()
{

}

void SystemStateController::show(QHBoxLayout *hLayout, int stretch)
{
    hLayout->addWidget(systemStateView,stretch);
}
